home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
ddj0897.zip
/
DYN401.ZIP
/
class
/
sequence.c
< prev
next >
Wrap
C/C++ Source or Header
|
1997-04-16
|
855b
|
58 lines
/* Copyright (c) 1993-1996 Algorithms Corporation */
/* All rights reserved. */
/* This file automatically generated by dpp - do not edit */
#define DPP_STRATEGY 2
#define DPP_FASTWIDE 0
#define CLASS Sequence_c
#define ivType Sequence_iv_t
#include "generics.h"
object Sequence_c;
#line 27 "sequence.c"
objrtn Sequence_initialize(void)
{
static CRITICALSECTION cs;
static int volatile once = 0;
ENTERCRITICALSECTION(_CI_CS_);
if (!once) {
INITIALIZECRITICALSECTION(cs);
once = 1;
}
LEAVECRITICALSECTION(_CI_CS_);
ENTERCRITICALSECTION(cs);
if (Sequence_c) {
LEAVECRITICALSECTION(cs);
return Sequence_c;
}
INHIBIT_THREADER;
Sequence_c = gNewClass(Class, "Sequence", 0, 0, END);
ENABLE_THREADER;
LEAVECRITICALSECTION(cs);
return Sequence_c;
}